//
//  ApiDefine.h
//  FineNurse
//
//  Created by TT_UED on 2018/4/26.
//  Copyright © 2018年 TT_UED. All rights reserved.
//

#import "ApiConfig.h"

#ifndef ApiDefine_h
#define ApiDefine_h

// API 路径定义
#define F(string, args...)  [NSString stringWithFormat:string, args]
#define ApiUrl              [ApiConfig getApiUrl]
#define ApiLogin            F(@"%@/hopotagle/dologin",ApiUrl)


/** 处理本地存储 */

#define STR(key)            NSLocalizedString(key, nil)

#define PATH_OF_APP_HOME    NSHomeDirectory()
#define PATH_OF_TEMP        NSTemporaryDirectory()
#define PATH_OF_DOCUMENT    [NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES) objectAtIndex:0]


#endif /* ApiDefine_h */
